package com.zx.servicelearn;

import android.app.Application;
import android.util.Log;

import com.zx.servicelearn.utils.MyUtils;

/**
 * Created by zhoux on 2018/1/17.
 * 注释：
 */

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        String processName = MyUtils.getProcessName(getApplicationContext(), android.os.Process.myPid());
        Log.e("MyApplication", "onCreate-----processName：" + processName);//一个APP中启动一个新的进程会重新生成一个Application

    }
}
